package cemp.service;

import cemp.entity.StockThsGnStocksTotal;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Insert;

/**
* @author xsb_t
* @description 针对表【stock_ths_gn_stocks_total】的数据库操作Service
* @createDate 2025-11-07 23:05:36
*/
public interface StockThsGnStocksTotalService extends IService<StockThsGnStocksTotal> {

    void clear();

    @Insert("insert into stock_ths_gn_stocks_total (gn_code,stock_code ,stock_name ) select distinct gn_code,stock_code,stock_name from stock_ths_gn_stocks")
    void mergeData();
}
